SftTree/OCX 7.0

SftTree.ColHeaderButton Property

Softel vdm, Inc.

Defines the currently pressed column header button.

Deprecated - Provided for compatibility with earlier versions only - Use Headers.Pressed instead

Syntax       

Get

VB.NET

ColIndex = object.ColHeaderButton  As Short

VB

ColIndex = object.ColHeaderButton  As Integer

C#.NET

short ColIndex = object.ColHeaderButton;

VC++

short ColIndex = object->ColHeaderButton;
short ColIndex = object->GetColHeaderButton();

C

HRESULT object->get_ColHeaderButton(short* ColIndex);

Delphi

ColIndex := object.ColHeaderButton   : Smallint;

Put

VB.NET

object.ColHeaderButton = ColIndex  As Short

VB

object.ColHeaderButton = ColIndex  As Integer

C#.NET

short object.ColHeaderButton = ColIndex;

VC++

short object->ColHeaderButton = ColIndex;
void object->PutColHeaderButton(short ColIndex);

C

HRESULT object->put_ColHeaderButton(short ColIndex);

Delphi

object.ColHeaderButton := ColIndex   : Smallint;

object

A SftTree object.

ColIndex

The zero-based column number of the header button that is currently pressed.   This can be -1 if no column header button is pressed.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Headers.Pressed instead

The ColHeaderButton property defines the currently pressed column header button.

Only one button can be pressed at a time.  All buttons can be reset by specifying -1 as ColIndex.

The Header.RemainUp property can be used to allow header buttons to automatically return to their "up" position, so the ColHeaderButton property does not have to be used.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com